//
//  UIImageView+JEHImageView.m
//  SinaNews
//
//  Created by 蒋恩浩 on 15/12/18.
//  Copyright © 2015年 JEH. All rights reserved.
//

#import "UIImageView+JEHImageView.h"

@implementation UIImageView (JEHImageView)

- (void)nightMode {
    
    NSUserDefaults *user = [NSUserDefaults standardUserDefaults];
    if ([[user objectForKey:@"NightMode"] isEqualToString:@"Night"]) {
        
        self.alpha = 0.7;
    } else {
        self.alpha = 1;
    }
}

@end
